package com.example.crowdfundingadminspringboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PortalController {
	
	//跳转首页（前台首页）
	@RequestMapping("/index")
	public String showIndex() {
		// 从数据库加载页面要显示的数据
		return "index-page";
	}
}

